package br.com.gemepde.database;

import org.hibernate.Session;

public class ConectaHibernateMySQL {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Session sessao = null;
		
		try {
			sessao = HibernateUtil.getSessionfactory().openSession();
			System.out.println("Conectou!!");
		} finally {
			sessao.close();
		}

	}

}
